﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Module.Common.Models;
using Module.Core.BusinessLogic;
using Module.Core.Common;
using Module.Core.EntitiesInfo;
using Module.Core.LoginSystem.Commons.Framwork;

namespace Web
{
    public partial class MemberDirectory : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            LoadData();
        }
        public void LoadData()
        {
            CHRTList<MemberInfo> listMember = MemberBL.GetParentLeveMemberFull("25479");
           
            CollectionPager1.DataSource = listMember;
            CollectionPager1.PageSize = 3;
            CollectionPager1.BindToControl = DataList1 ;
            DataList1.DataSource = CollectionPager1.DataSourcePaged ;
            DataList1.DataBind();

        }
    }
}